/*
 * @Author: error: git config user.name && git config user.email & please set dead value or install git
 * @Date: 2022-07-11 15:31:30
 * @LastEditors: 卓晓松 729519678@qq.com
 * @LastEditTime: 2022-07-28 15:00:20
 * @FilePath: \Rashipier_Monitor_new\myapp\src\router\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createRouter, createWebHashHistory } from 'vue-router'


const routes = [

  {
    path: '/page',
    name: 'page',
    component: () => import('@/views/MonitorRaspi.vue')
  },
  // 重定向
  {
    path: "/",
    redirect: "/page"
  }
]

const router = createRouter({
  history: createWebHashHistory(process.env.BASE_URL),
  routes
})

export default router
